FROM openjdk:8-jdk-alpine
MAINTAINER wade.qu <wade.qu@fosun.com
ENV LANG=en_US.UTF-8
VOLUME /opt
ADD target/sentinel-dashboard.jar /opt/sentinel-dashboard.jar
EXPOSE 8080
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -server -Djava.security.egd=file:/dev/./urandom -jar /opt/sentinel-dashboard.jar" ]